﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using BCCommon.TMS.Transport;

namespace BCDto.TMS.VehicleSuiteBusinessTemplate
{
	/// <summary>
	/// 车辆套餐业务模板
	/// </summary>
	public class VehicleSuiteBusinessTemplateRequestDto
	{
		/// <summary>
		/// 车辆运输业务配置Id
		/// </summary>		
		[Display(Name = "车辆运输业务配置Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public int VehicleTransportBusinessConfigId { get; set; }
		/// <summary>
		/// 套餐业务类型
		/// </summary>		
		[Display(Name = "套餐业务类型")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public VehicleSuiteBusinessType SuiteBusinessType { get; set; }
		/// <summary>
		/// 套餐口号
		/// </summary>		
		[Display(Name = "套餐口号")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(50, MinimumLength = 2, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string SuiteSlogan { get; set; }
		/// <summary>
		/// 业务描述标题
		/// </summary>		
		[Display(Name = "业务描述标题")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[MaxLength(20, ErrorMessage = "{0} 长度应小于{1}")]
		public string BusinessDescriptionTitle { get; set; }
		/// <summary>
		/// 业务描述
		/// </summary>		
		[Display(Name = "业务描述")]
		public string BusinessDescription { get; set; }
	}
}

